package com.lry.web.cartoon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lry.web.cartoon.entity.Cartoon;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CartoonMapper extends BaseMapper<Cartoon> {

    @Select("SELECT count(*) FROM cartoon")
    Integer selectNum();

}
